<template>
  <div class="product">
    <div class="product-img">
      <img class="auto-img" :src="prolist.smallImg" alt="" />
    </div>
    <div class="product-zhname">{{ prolist.name }}</div>
    <div class="product-enname one-text">{{ prolist.enname }}</div>
    <div class="product-price">￥{{ prolist.price }}</div>
  </div>
</template>
<script>
export default {
  name: "HotProduct",
  props: {
    prolist: {
      type: Object,
      default() {
        return {};
      },
    },
  },
};
</script>
<style lang="less" scoped>
.product {
  background: #f0f0f0;
  border-radius: 10px;
}
.product-img {
  background: #f0f0f0;
  border-radius: 10px;
  overflow: hidden;
}
.product-zhname {
  font-size: 14px;
  margin-top: 10px;
}
.product-enname {
  color: #999;
}
.product-price {
  color: #0c34ba;
  font-size: 14px;
  margin-top: 5px;
  font-weight: bold;
}

</style>